package com.anxin.registerManagement.bean.persist;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@ApiModel("操作日志信息")
@Data
public class LogInfo {

    @ApiModelProperty("id")
    @TableId(type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("操作用户")
    private Integer handleUserId;

    @ApiModelProperty("操作名称")
    private String handleName;

    @ApiModelProperty("请求路径")
    private String requestUrl;

    @ApiModelProperty("操作系统类型")
    private String osType;

    @ApiModelProperty("客户端类型")
    private String clientType;

    @ApiModelProperty("时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

}
